package top.as.sean.dao.dto.system;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 取消授权
 *
 * @author: ArchieSean
 * @create: 2023/2/3
 */
@Data
public class UserRoleCancel {
    /**
     * 角色id
     */
    @NotNull(message = "角色id不能为空")
    private Long roleId;

    /**
     * 用户id
     */
    @Size(min = 1)
    private List<Long> userIds;
}
